home *** CD-ROM | disk | FTP | other *** search
- Why suty3d.dll?
-
- I created this dll to replace ctl3d.dll. You cannot use ctl3d.dll
- with OWL on controls on the main window. Also I didn't
- want to have to worry about using subclassing to get the 3D
- effects.
-
- Project suty3d builds the dll. Project tstctl gives an example using it.
-
- Using this is about the same as ctl3d.dll. See the source code
- for the project tstctl. This will show how to use 3D controls
- on the main window, on a dialog box, and on the common dialog
- boxes.
- -Include uty25001.h
- -Add suty3d.lib to the project
- -Have at least one call to the dll in the source code.
- (if you don't have any calls put a call in for
- UtyCtlMakeLink() it's there just for that reason)
- - Change the class names of controls you want 3d
- in the .rc file to UTY3d_xxxxx.
- - Change the class of the dialog to uty3d_dlg.
- - trap the wm_ctlcolor message and call the function in the dll.
- (see tstctl.cpp)
- - See function FileOpen in tstctl.cpp on how to use common dialogs.
-
-
- I'm not done with this code yet but have been requested
- to post what I have so far. I have only tested the common dialog
- boxes for open, color, and font. The others should work ok though.
-
- I will be adding the code to the dll so the new controls can
- be added from resource workshop.
-
- Ken Walters